package com.lxq.scmserver.entity;

import lombok.Data;

import java.time.LocalDate;

/**
 * @description:
 * @author: LuoXiaoQiang
 * @date: 5/9/2025 9:38 PM
 * Copyright (c) 2025, LXQ Cloud All Rights Reserved.
 */
@Data
public class Booking {
    private String bookingNumber;

    private LocalDate date;

    private LocalDate bookingTo;

    private Customer customer;

    private String from;

    private String to;

    private BookingStatus bookingStatus;

    private BookingClass bookingClass;

    public Booking(String bookingNumber, LocalDate date, Customer customer, BookingStatus bookingStatus, String from, String to, BookingClass bookingClass) {
        this.bookingNumber = bookingNumber;
        this.date = date;
        this.customer = customer;
        this.bookingStatus = bookingStatus;
        this.from = from;
        this.to = to;
        this.bookingClass = bookingClass;
    }
}
